/********************************************************/
/*	Copyright (C) 2012 Gong Li Bin			*/
/*	Project:	MapReduce			*/
/*	Author:		gong_libin			*/
/*	Date:		2013_05_06			*/
/*	File:		MrSql.h				*/
/********************************************************/

#ifndef	_MRSQL_H
#define	_MRSQL_H

#include "MrGlobal.h"

class CMrSql
{
public:
	CMrSql() {}
	virtual ~CMrSql() {}

	virtual void MrSqlClose() { return; }
	virtual int MrSqlInsert(char* pszSql) { return MR_SUCCESS; }
	virtual int MrSqlDelete(char* pszSql) { return MR_SUCCESS; }
	virtual int MrSqlUpdate(char* pszSql) { return MR_SUCCESS; }
	virtual void* MrSqlSelect(char* pszSql) { return MR_SUCCESS; }
	virtual int MrSqlConnect(char* pszHost, char* pszPort, char* pszUser, char* pszPass) { return MR_SUCCESS; }

private:

};

#endif /* _MRSQL_H */
